package com.motong.gongdan.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.motong.gongdan.entity.LampBox;
import com.motong.gongdan.mapper.LampBoxMapper;
import com.motong.gongdan.vo.system.lampBox.query.LampBoxListQuery;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class LampBoxService extends ServiceImpl<LampBoxMapper, LampBox> {

    @Resource
    private LampBoxMapper lampBoxMapper;

    public Page<LampBox> getList(Page<LampBox> page, LampBoxListQuery query) {
        return lampBoxMapper.getList(page,query);
    }
}
